#!/bin/bash

# 读取配置
export acme_sh_home=/opt/acme/sh
source $acme_home/account.conf
source $acme_sh_home/util.sh

# 遍历证书
split "$DOMAINS" ','
for domain in "${_split_arr[@]}"
do
	echo deploy domain: $domain
	$acme_sh_home/deploy-ali.sh $domain && \
	$acme_sh_home/deploy-nginx.sh $domain
done

